#include<stdio.h>
#include<stdlib.h>
int* twoSum(int* nums, int numsSize, int target, int* returnSize)
{
 int i,j;
 for(i=0;i<numsSize-1;i++)
 {
     for(j=i+1;j<numsSize;j++){
         if(nums[i]+nums[j]==target){
             int* result = (int*)malloc(2 * sizeof(int));
             result[0]=i;
             result[1]=j;
             *returnSize=2;
             return result;
         }
     }
 }
        *returnSize=0;
        return NULL;
}
int main()
{
    int num[]={1,2,3,4,2,6,7};
    tagert=5;
    int*twoSum();
    return 0;
}